package org.openshp.unifiedweb.vaadin;

import org.openshp.unifiedweb.api.IWebFactory;
import org.openshp.unifiedweb.api.interfaces.Label;
import org.openshp.unifiedweb.api.interfaces.Panel;
import org.openshp.unifiedweb.vaadin.concrete.VLabel;
import org.openshp.unifiedweb.vaadin.concrete.VPanel;

public class VaadinWebFactory implements IWebFactory {

		
	public Panel createPanel() {
		return new VPanel();
	}

	public Label createLabel() {
		return new VLabel();
	}

	public Label createLabel(String str) {
		return new VLabel(str);
	}
}
